<template>
    <div class="adminIndex">
        <el-container>
            <el-aside width="220px">
                <left-aside></left-aside>
            </el-aside>
            <el-container>
                <el-header>
                    <eui-header></eui-header>
                </el-header>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>
<script>
import euiHeader from './component/Euiheader'
import leftAside from './component/leftAside'
export default {
    components:{
        leftAside,
        euiHeader
    },
    data(){
        return {

        }
    },
    computed:{
        userInfo(){
            return this.$store.state.userinfo
        }
    },
    // beforeRouteEnter(to, from, next){
        
    //    next()
    // },
    created(){
        
    }
}   
</script>
<style lang="scss" scoped>
.el-header {
    background-color: rgb(84, 92, 100);
    color: #fff;
    line-height: 60px;
}
</style>


